// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 状态管理
import store from '@/vuex/store'
// 前端组件
import Vant from 'vant'
import 'vant/lib/index.css'
// 图片截图工具
import VueCropper from 'vue-cropper'
// 定制：时间函数
import moment from 'moment'
moment.locale('zh_CN')

// 全局挂载
Vue.use(Vant)
Vue.use(VueCropper)
Vue.prototype.moment = moment

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
